import os

#将text.txt重名为mark.txt
os.rename("text.txt","mark.txt")